home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / Release Notes / ODF Release 2 < prev   
Encoding:
Text File  |  1996-09-18  |  5.9 KB  |  104 lines  |  [TEXT/ttxt]

  1. OpenDoc
  2. Development
  3. Framework
  4.                                                                                                                                                                                      
  5. ODF Release 2
  6. ODF Release  2                                                                                                                                                            
  7.  
  8.  
  9. This second release of ODF brings a lot of improvements: improvement in the overall stability of your part and improvement in the usability of the framework. We had a very simple goal for ODF 2: make the existing code base work better. While our first priority was to fix bugs (we fixed around 400 bugs), our second priority was also to change, when possible, what you or we didn't like in ODF 1. We want to thank everybody for the excellent feedback we got mainly through the ODF-Interest list which has been for us an invaluable tool.  The whole ODF team hopes that you will find ODF 2 to be an even better framework than ODF 1. 
  10.  
  11.  
  12. This document is a quick overview of the changes in ODF 2. For a more detailed description read the "Conversion From ODF 1" and "Fixed Problems" documents.
  13.  
  14.  
  15. OpenDoc Specific Features
  16.  
  17. PresentationChanged
  18. ODF now has better support for ODPart::PresentationChanged.  Look at ODFClock for an example.
  19.  
  20. HighlightChanged
  21. ODF 2 eases the implementation of HighlightChanged by caching the previous highlight state of a facet, making it much easier to support HighlightChanged. Look at ODFTable for an example.
  22.  
  23. InLimbo recipe
  24. ODF 2 has a better implementation of the OpenDoc InLimbo recipe.
  25.  
  26. Lazy instantiation of embedded frames
  27. ODF 2 now allows lazy instantiation of embedded frames, which means that your embedding part doesn't have to load all its embedded frames at once but can, instead, load them only when they become visible. Look at ODFDraw for an example.
  28.  
  29. ContainingPartPropertiesUpdated/AcquireContainingPartProperties
  30. ODF 2 now correctly supports part properties. Look at ODFClock and ODFContainer for examples.
  31.  
  32. Support for multiple kind, preferred kind and ODPart::ExternalizeKinds
  33. ODF 2 provides you with full support for multiple kinds, making it easy for you to support different kinds in your part. Look at ODFDraw or ODFBitmap for examples.
  34.  
  35. Extension
  36. ODF provides a sample extension (ODFColorExtension), used by ODFContainer and ODFBitmap.
  37.  
  38. Scrolling Focus
  39. ODF now automatically supports the OpenDoc scrolling focus through the FW_CScroller class. 
  40.  
  41. Linking
  42. Linking has been considerably improved in ODF 2 but we are not done. You will see even more improvement in ODF 3.
  43.  
  44.  
  45.  
  46. General Framework Features
  47.  
  48. FW_CScroller
  49. New API (like RevealRect) and new features (like constrain scrolling used in ODFTable) have been added.
  50.  
  51. New Internet Layer
  52. There is a new Internet Layer which is aimed at providing Cyberdog support.
  53.  
  54. New FW_CPictSView  class
  55. A new picture class has been added to the view system
  56.  
  57. New FWThread subsystem in OS layer
  58.  
  59. Support for PowerPlant and MacApp views
  60.  
  61.  
  62.  
  63. Sample Parts
  64.  
  65. Along with improvement in the framework we also improved almost all our samples. We tried to make them more useful and use as much of the framework as possible.
  66.  
  67. ODFTable
  68. ODFTable has gained scrolling and scrolling focus. Notice how ODFTable implements scrolling one cell at a time even with different cell size. ODFTable also now correctly uses facet highlighting.
  69.  
  70. ODFDraw
  71. New in ODFDraw:
  72. - Lazy instantiation of embedded frames which allows a part to load only visible embedded parts
  73. - Scrolling focus
  74. - The drawing size now takes into account the print settings. To see this in action, choose Page Setup, and modify the "Reduce or Enlarge" value. Values less than 100% (Reduction) will increase the apparent size of the drawing area. Values greater than 100% (enlargement) will decrease the apparent size of the drawing area.
  75.  
  76. ODFBitmap
  77. ODFBitmap is now Cybderdog-savvy. It can import JPEG MacOS files and read them over the Internet (via Cyberdog) using threads. It will correctly show up in Navigator with the required Cyberdog menus. ODFBitmap also implements the Save As command (for pictures only) required by Cyberdog.
  78.  
  79. ODFContainer
  80. Implements Part Properties (see ODFClock) and uses the ODFColorExtension (see ODFColorExtension and ODFBitmap).
  81.  
  82. ODFClock
  83. ODFClock has gained several new features:
  84.  - Now uses offscreen drawing, so it is no longer necessary for the clock to draw in XOR mode.
  85.     - Adapts its color to the background color, so it can be color coordinated.
  86.  - Analog Mode:
  87.                     -Uses different tick marks, little ovals for five-minute increments, and squares for other increments.
  88.                     -Uses arcs instead of lines for the hour and minute hands. The sweep second hand is still a line.
  89.  - Digital Mode:
  90.                     -Uses Courier Font, so that the width of the time is more consistent.
  91.                     -Proportionally scales the font size to the size of the view.
  92.  - New dialog to set the face string and a time offset.
  93.  - Part properties: when embedded in ODFContainer the face of the clock can take the ODFContainer's background color. 
  94.  - PresentationChanged: ODFClock now uses two different presentations (digital and analog) to switch back and forth between the digital and analog clock.
  95.  
  96. ODFForm
  97. ODFForm now has a content model allowing the form to be saved and reopened. Notice how the notification subsystem is used to keep the control's value and the content model synchronized.
  98.  
  99. ODFColorExtension
  100. This is a new sample implementing a simple OpenDoc extension. This extension implements a GetColor and SetColor API. It is used by the ODFContainer and ODFBitmap samples. When ODFBitmap is embedded inside ODFContainer, clicking on a pixel in ODFBitmap will set the ODFContainer's background color to the pixel color.
  101.  
  102. ODFCyberStarter
  103. This is a new sample showing what a minimal Cyberdog-savvy ODF-based part should implement. ODFCyberStarter has persistent CyberItems, can read text from the Internet (via Cyberdog) using threads, and shows up in Navigator with the required menus.
  104.